//
//  testController.m
//  扫描二维码
//
//  Created by Alesary on 15/9/18.
//  Copyright (c) 2015年 Alesary. All rights reserved.
//

#import "testController.h"

@interface testController ()
{
    UIWebView *_webView;
}

@end

@implementation testController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"二维码";
    [self AddLeftImageBtn:[UIImage imageNamed:@"fanhui_03 2"]target:self action:@selector(GoBack)];
    self.view.backgroundColor = [UIColor whiteColor];

    self.view.backgroundColor=[UIColor whiteColor];
   

//    NSLog(@"%@",self.webURL);
    
        _webView=[[UIWebView alloc]initWithFrame:[[UIScreen mainScreen] bounds]];

        [_webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.webURL]]];
    
    
    [self.view addSubview:_webView];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
